import {get} from "../util/http";
import {JobNodeVO} from "../model/Node";

export default {
    nodeInfo(applicationName: string, nodeIp?: string): Promise<Array<JobNodeVO>> {
        return get<Array<JobNodeVO>>("/node/nodeInfo", {applicationName, nodeIp});
    }
}
